package com.hand.demo.domain.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.choerodon.mybatis.annotation.ModifyAudit;
import io.choerodon.mybatis.annotation.VersionAudit;
import io.choerodon.mybatis.domain.AuditDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 语言证书表(HhrTaLang)实体类
 *
 * @author
 * @since 2025-06-16 12:16:52
 */

@ApiModel("语言证书表")
@VersionAudit
@ModifyAudit
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@Table(name = "hhr_ta_lang")
public class HhrTaLang extends AuditDomain {
    private static final long serialVersionUID = 245443083266741384L;

    public static final String FIELD_ID = "id";
    public static final String FIELD_CERT_NAME = "certName";
    public static final String FIELD_CERT_SCORE = "certScore";
    public static final String FIELD_LANGUAGE_LEVEL = "languageLevel";
    public static final String FIELD_LANGUAGE_LISTEN_SPEAK = "languageListenSpeak";
    public static final String FIELD_LANGUAGE_NAME = "languageName";
    public static final String FIELD_LANGUAGE_READ_WRITE = "languageReadWrite";
    public static final String FIELD_RESUME_ID = "resumeId";
    public static final String FIELD_TENANT_ID = "tenantId";

    @ApiModelProperty("自增主键")
    @Id
    @GeneratedValue
    private Long id;

    @ApiModelProperty(value = "证书名称")
    private String certName;

    @ApiModelProperty(value = "证书成绩")
    private String certScore;

    @ApiModelProperty(value = "综合成绩")
    private String languageLevel;

    @ApiModelProperty(value = "听说能力")
    private String languageListenSpeak;

    @ApiModelProperty(value = "语言名称", required = true)
    @NotBlank
    private String languageName;

    @ApiModelProperty(value = "读写能力")
    private String languageReadWrite;

    @ApiModelProperty(value = "关联简历ID", required = true)
    @NotNull
    private Long resumeId;

    @ApiModelProperty(value = "租户ID", required = true)
    @NotNull
    private Long tenantId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCertName() {
        return certName;
    }

    public void setCertName(String certName) {
        this.certName = certName;
    }

    public String getCertScore() {
        return certScore;
    }

    public void setCertScore(String certScore) {
        this.certScore = certScore;
    }

    public String getLanguageLevel() {
        return languageLevel;
    }

    public void setLanguageLevel(String languageLevel) {
        this.languageLevel = languageLevel;
    }

    public String getLanguageListenSpeak() {
        return languageListenSpeak;
    }

    public void setLanguageListenSpeak(String languageListenSpeak) {
        this.languageListenSpeak = languageListenSpeak;
    }

    public String getLanguageName() {
        return languageName;
    }

    public void setLanguageName(String languageName) {
        this.languageName = languageName;
    }

    public String getLanguageReadWrite() {
        return languageReadWrite;
    }

    public void setLanguageReadWrite(String languageReadWrite) {
        this.languageReadWrite = languageReadWrite;
    }

    public Long getResumeId() {
        return resumeId;
    }

    public void setResumeId(Long resumeId) {
        this.resumeId = resumeId;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

}

